Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigs,generate: update sig-list generation for wgs #346

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

dhiller
Copy link
Contributor

@dhiller dhiller commented Nov 5, 2024

What this PR does / why we need it:

Adds generation of section for working groups to sig-list.md. This is required now since we got our first working groups around architectures with #298.

In a separate commit the changes for the latest WG additions are applied.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Note: this is a manual cherry-pick from the original changes in wg-code-quality PR #333

/cc @aburdenthehand @lyarwood

Copy link
Contributor

@jean-edouard jean-edouard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

generators/cmd/sigs/sig-list.gomd Outdated Show resolved Hide resolved
sig-list.md Outdated Show resolved Hide resolved
@kubevirt-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jean-edouard

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 7, 2024
@dhiller dhiller force-pushed the add-wg-sig-list-generation branch from efe7e38 to 493f030 Compare November 7, 2024 14:52
@@ -19,7 +19,7 @@
*/
-}}
{{- /* gotype: kubevirt.io/community/generators/cmd/sigs.SigListTemplateData */ -}}
{{ define "group" }}|[{{ .Name }}]({{ .Dir }}/charter.md) |[{{ .Label }}](https://github.com/kubevirt/kubevirt/labels/{{ .Label }})|{{ if .Leadership }}<ol>{{ range $index2, $chair := .Leadership.Chairs }}<li>[{{ $chair.Name }}](https://github.com/{{ $chair.Github }}), {{ $chair.Company }}</li>{{ end }}</ol>{{ end }} |{{ if .Contact }}[Slack]({{ .Contact.Slack}})<br/> [Mailing List]({{ .Contact.MailingList }}){{ end }} |<ul>{{ range $index3, $meeting := .Meetings }}<li>{{ $meeting.Description }}: [ {{ $meeting.Day }} at {{ $meeting.Time }} {{ $meeting.TZ }} ({{ $meeting.Frequency }}) ]({{ $meeting.URL }})</li>{{ end }}</ul> |{{ end }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jean-edouard so this is the change in the template that I promised, hope it's ok for you to do this here - since we are changing the template anyhow I think that's fair.

Adds generation of section for working groups to sig-list.md .

Signed-off-by: Daniel Hiller <[email protected]>
This commit also adds the changes wrt non existing labels, therefore
there's empty rows in case no label is present.

Signed-off-by: Daniel Hiller <[email protected]>
@dhiller dhiller force-pushed the add-wg-sig-list-generation branch from 493f030 to 080dbaf Compare November 7, 2024 15:04
@dhiller dhiller requested a review from jean-edouard November 7, 2024 15:07
Copy link
Member

@brianmcarey brianmcarey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2024
@kubevirt-bot kubevirt-bot merged commit 4f29568 into kubevirt:main Nov 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants